package com.cxs.mapper;

import com.cxs.entity.Seat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxs.entity.bo.SeatBo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @ClassName: SeatMapper
 * @description:
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
public interface SeatMapper extends BaseMapper<Seat> {

    List<SeatBo> selectSeatInfoAndOrderInfo(@Param("id") Integer id, @Param("date") LocalDate date);

    SeatBo selectOrderInfoBySeatId(@Param("id") Integer id, @Param("date") LocalDate date);
}




